﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using HT.Business;
using HT.Model;

public partial class CreateApply : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        this.Panel1.Visible = true;
        this.Label1.Text = ">>>创建申请>>>财务报销";
    }
    protected void LinkButton2_Click(object sender, EventArgs e)
    {
        this.Panel1.Visible = false;
    }
    protected void LinkButton3_Click(object sender, EventArgs e)
    {
        this.Panel1.Visible = false;
    }
    protected void LinkButton4_Click(object sender, EventArgs e)
    {
        this.Panel1.Visible = false;
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        ReimbursementHandler reimbursementHandler = new ReimbursementHandler();       
        reimbursementHandler.CreateReimbursementWorkflow(this.TextBox1.Text,Double.Parse(this.TextBox2.Text), this.TextBox3.Text);
        Response.Redirect("~/Default.aspx");
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/Default.aspx");
    }
}
